package com.mall.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.pojo.OrderDetail;
import com.mall.pojo.ShoppingCart;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author xiao-chen
 * @since 2023-04-27
 */
public interface IShoppingCartService extends IService<ShoppingCart> {
    /**
     * 修改购物车商品数量
     *
     * @param userId          用户id
     * @param orderDetailList 购物车商品列表
     * @return void
     * @author cxx
     * @date 2023/5/13 22:59
     */
    void updateShoppingCartWaresNum(Long userId, List<OrderDetail> orderDetailList);


}
